export const getLabelByEnum = (text, enumAry = []) => {
    const currentItem = enumAry.filter((item) => {
        return item.key === text;
    });
    return currentItem.length ? currentItem[0].label : "";
};
